package com.simple.portal.dao;

import java.util.List;

import com.simple.portal.vo.ApplicationVO;
import com.simple.util.object.PageInfoBean;

public interface IApplicationDAO {
	ApplicationVO findById(final String id);
    
    void save(final ApplicationVO applicationVO,final String operator);
    
    void update(final ApplicationVO applicationVO,final String type,final String operator);

    List<ApplicationVO> findAll();

    void delete(final ApplicationVO applicationVO,final String operator);
    
    void delete(final String id,final String operator);

	List<?> findApplicationByPage(String userId, String appName, String providerName, PageInfoBean pageInfoBean);
	
	List<?> findApplicationByPageByOrganization(String organizationId, String applicationTypeKeyId, PageInfoBean pageInfoBean);
}
